SGGetChannelSampleDescription
TheSGGetChannelSampleDescription
function allows the sequence grabber to retrieve your channel's sample description.
pascal ComponentResult SGGetChannelSampleDescription (SGChannel c, Handle sampleDesc);
c
- Identifies the channel connection for this operation.
sampleDesc
- Specifies a handle that is to receive your sample description.
DESCRIPTION
TheSGGetChannelSampleDescription
function allows the sequence grabber to retrieve your channel's current sample description. The sequence grabber may call this function only when your channel is prepared to record or is actually recording.Your channel returns a sample description that is appropriate to the type of data being captured. For video channels, your channel component returns an Image Compression Manager image description structure; for sound channels, you return a sound description structure, as defined by the Movie Toolbox.
RESULT CODE
cantDoThatInCurrentMode -9402 Request invalid in current mode
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help